package main

import (
	"canal-go/core"
	"canal-go/global"
	"fmt"
	"log"
)

func main() {
	application := global.APPLICATION
	fmt.Println(application)
	log.Printf("start up app name:%s,instance id：%s", application.AppName, application.InstanceId)
	c := core.NewCanal(&core.EventHandler{})
	c.Start()
}
